home *** CD-ROM | disk | FTP | other *** search
/ User's Choice Windows CD / User's Choice Windows CD (CMS Software)(1993).iso / misc1 / amistuff.zip / SETSTY.ZIP / SETSTYLE.SMM
INI File  |  1990-11-30  |  3KB  |  338 lines

  1. [ver]
  2.     4
  3. [sty]
  4.     
  5. [files]
  6. [prn]
  7.     Epson 9 pin
  8. [lang]
  9.     1
  10. [desc]
  11.     
  12.     
  13.     
  14.     
  15.     
  16.     659989506
  17.     1
  18.     659988544
  19. [fopts]
  20.     0
  21.     1
  22.     0
  23.     0
  24. [lnopts]
  25.     2
  26.     Body Text
  27. [docopts]
  28.     5
  29.     0
  30. [tag]
  31.     Body Text
  32.     2
  33.     [fnt]
  34.         Tms Rmn
  35.         160
  36.         0
  37.         49152
  38.     [algn]
  39.         225
  40.         1
  41.         0
  42.         0
  43.         0
  44.     [spc]
  45.         17
  46.         273
  47.         1
  48.         0
  49.         0
  50.         1
  51.         100
  52.     [brk]
  53.         4
  54.     [line]
  55.         8
  56.         0
  57.         1
  58.         0
  59.         1
  60.         2
  61.         2
  62.         20
  63.         20
  64.         1
  65.     [spec]
  66.         0
  67.         0
  68.         
  69.         0
  70.         1
  71.         0
  72.         0
  73.         1
  74.         0
  75.         0
  76.     [nfmt]
  77.         280
  78.         1
  79.         3
  80.         .
  81.         ,
  82.         $
  83. [tag]
  84.     footer
  85.     3
  86.     [fnt]
  87.         Tms Rmn
  88.         200
  89.         0
  90.         49152
  91.     [algn]
  92.         225
  93.         1
  94.         0
  95.         0
  96.         0
  97.     [spc]
  98.         17
  99.         273
  100.         1
  101.         0
  102.         0
  103.         1
  104.         100
  105.     [brk]
  106.         4
  107.     [line]
  108.         8
  109.         0
  110.         1
  111.         0
  112.         1
  113.         2
  114.         2
  115.         20
  116.         20
  117.         1
  118.     [spec]
  119.         0
  120.         0
  121.         
  122.         0
  123.         1
  124.         0
  125.         0
  126.         1
  127.         0
  128.         0
  129.     [nfmt]
  130.         280
  131.         1
  132.         3
  133.         .
  134.         ,
  135.         $
  136. [lay]
  137.     Standard
  138.     513
  139.     [rght]
  140.         15840
  141.         12240
  142.         1
  143.         1080
  144.         360
  145.         1
  146.         1080
  147.         720
  148.         4
  149.         1
  150.         0
  151.         1
  152.         8
  153.         4
  154.         1
  155.         1080
  156.         11520
  157.         14
  158.         1
  159.         359
  160.         1
  161.         721
  162.         1
  163.         1084
  164.         1
  165.         1446
  166.         1
  167.         1792
  168.         1
  169.         2155
  170.         1
  171.         2517
  172.         1
  173.         2880
  174.         1
  175.         3242
  176.         1
  177.         3605
  178.         1
  179.         3967
  180.         1
  181.         4323
  182.         1
  183.         4683
  184.         1
  185.         5043
  186.     [hrght]
  187.     [lyfrm]
  188.         1
  189.         11200
  190.         0
  191.         0
  192.         12240
  193.         1080
  194.         1
  195.         1
  196.         3
  197.         1
  198.         5
  199.         0
  200.         0
  201.     [frmlay]
  202.         1080
  203.         12240
  204.         1
  205.         360
  206.         0
  207.         1
  208.         0
  209.         0
  210.         2
  211.         1
  212.         0
  213.         1
  214.         1
  215.         0
  216.         1
  217.         360
  218.         12240
  219.         3
  220.         1
  221.         365
  222.         2
  223.         6120
  224.         3
  225.         11162
  226.     [txt]
  227. <+B>
  228.  
  229. <+B>
  230.  
  231. <+B>    <:da<*!><* >>        Date Created:  <:da<*$><* >>
  232.  
  233. <+B>    By Charlie Pappas    Page - <:P11,1,>    Date Last revised:  <:da<*%><* >>
  234.  
  235. <+B>    
  236.  
  237. >
  238.     [frght]
  239.     [lyfrm]
  240.         1
  241.         13248
  242.         0
  243.         15480
  244.         12240
  245.         15840
  246.         1
  247.         1
  248.         3
  249.         1
  250.         5
  251.         0
  252.         0
  253.     [frmlay]
  254.         15840
  255.         12240
  256.         1
  257.         720
  258.         0
  259.         1
  260.         15480
  261.         720
  262.         2
  263.         1
  264.         0
  265.         1
  266.         1
  267.         0
  268.         1
  269.         720
  270.         11520
  271.         0
  272.     [txt]
  273. @footer@
  274. >
  275. [elay]
  276. [l1]
  277.     0
  278. [pg]
  279.     1
  280.     14 0 12 1025 16384 0 0 65535 65535 Standard    0 0 0    0 0 0 0 0 0 0 65535 0 0 0 0 0 0
  281. [edoc]
  282. function stestyle()
  283.  
  284. ' This macro finds specific text within the document and sets each 
  285. occurence of the text to a specified style.
  286.  
  287.  
  288. text = query$("Enter Text to Find:")
  289.  
  290. stylename = query$("Enter Style Name In proper case:")
  291.  
  292. while (1)
  293.  
  294. go = replace("" "" "" text "")
  295.  
  296.     if go <<>> 1 then
  297.  
  298.         break
  299.  
  300.     endif
  301.  
  302.     SetStyle(stylename)
  303.  
  304. wend
  305.  
  306. Message("Done")
  307.  
  308. end function
  309.  
  310. >
  311. [macsum] 1
  312. stestyle 0 0 4 0
  313. [macse]
  314. 14 stestyle
  315. 0 1 "Enter Text to Find:"
  316. 13
  317. 8 1
  318. 0 1 "Enter Style Name In proper case:"
  319. 13
  320. 8 2
  321. 5 1
  322. 11 00000220
  323. 2 488 1 "" "" "" "{1}" ""
  324. 13
  325. 8 3
  326. 6 3
  327. 5 1
  328. 18 1
  329. 11 00000194
  330. 10 00000220
  331. 0 289 "{2}"
  332. 10 00000098
  333. 0 3 "Done"
  334. 6 0
  335. 15
  336. 9
  337. 00002330
  338.